package cbh.tool.inlet;

import cbh.tool.ToolBaseException;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;

/**
 * Created by hx-pc on 16-6-14.
 */
public interface AnalyzeXLSFile {

    //<T> List<T> analyzeWithSAX(File file, Class<T> valueType) throws IOException, SAXException, OpenXML4JException;

    <T> List<T> analyze(File file, Class<T> valueType) throws IOException, ToolBaseException;

    <T> List<T> analyzeWithoutRowAndColumn(File file, Class<T> valueType, int rowNum, int columnNum) throws IOException, ToolBaseException;

    <T> List<T> analyzeWithoutRowAndColumnRotation(File file, Class<T> valueType, int rowNum, int columnNum) throws IOException, ToolBaseException;

    <T> List<T> analyzeWithoutRowAndColumn(String fileName, InputStream inputStream, Class<T> valueType, int rowNum, int columnNum) throws IOException, ToolBaseException;
}
